package com.lry;

public enum NodeRole {

    FOLLOWER("FOLLOWER"),
    CANDIDATE("CANDIDATE"),
    LEADER("LEADER");

    private String role;

    NodeRole(String role) {
        this.role = role;
    }


    public String getRole() {
        return role;
    }

}
